package cc.rico.tutorial.sync;

/**
 * Created by rico on 2018/8/19.
 */
public class FtpConfigDemo {

    public static void main(String[] args) throws InterruptedException {
        ConfigManager cfgManager = new ConfigManager();
        ClientApp clientApp = new ClientApp();

        cfgManager.load();
        cfgManager.sync();
        clientApp.run();

        cfgManager.update();
        cfgManager.sync();
        clientApp.run();


    }

}
